<?php

use Illuminate\Database\Seeder;

class UserRolePivotTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$items = [
    		[
    			'user_id' => 1,
    			'role_code' => 'admin'
			],[
    			'user_id' => 2,
    			'role_code' => 'approver'
			],[
				'user_id' => 3,
				'role_code' => 'admin'
			]
		];

    	DB::table('user_role_pivot')->insert($items);
    }
}
